html, body{
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	font-family: 'Architects Daughter', cursive;
	background-image: url("../res/bg.png");
	font-size: 20px;
}

#header{
	z-index: 1;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	height: 50px;
	background-color: #b5b5b5;
	border-width: 0 0 2px 0;
	border-style: solid;
	border-color: #6c6c6c;
	border-radius: 0 0 15px 15px;
	h1{
		text-align: center;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 50px;
		right: 50px;
		line-height: 50px;
		padding: 0;
		margin: 0;
		font-size: 30px;
	}
	#backBtn{
		display: none;
		width: 50px;
		position: absolute;
		top: 0;
		bottom: 0;
		left: 0;
		background-image: url("../res/back.png");
		background-position: center center;
		background-repeat: no-repeat;
	}
	#menuBtn{
		width: 50px;
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		background-image: url("../res/menu.png");
		background-position: center center;
		background-repeat: no-repeat;
	}
	
}

#menu{
	display: none;
	z-index: 2;
	position: fixed;
	width: 300px;
	top: 50px;
	right: 0;
	height: 250px;
	background-color: #ebebeb;
	border-width: 2px;
	border-style: solid;
	border-color: #6c6c6c;
	.row{
		box-sizing: border-box;
		padding-left: 20px;
		line-height: 50px;
		&:not(:first-child){
			border-top: 2px solid #6c6c6c;
		}
		&:first-child{
			background-color: #ccc;
		}
		width: 100%;
		height: 50px;
	}
}

#content{
	z-index: 0;
	position: absolute;
	left: 0;
	right: 0;
	top: 50px;
	bottom: 0;
}

.nyi{
	cursor: not-allowed;
}

.btn{
	cursor: pointer;
}

#home{
	.room{
		width: 200px;
		height: 200px;
		margin: 20px;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center center;
		float: left;
	}
}

#room{
	#topdown{
		position: fixed;
		top: 70px;
		left: 20px;
		right: 520px;
		bottom: 20px;
		background-size: contain;
		background-repeat: no-repeat;
		background-position: center center;
	}
	#sidebar{
		position: absolute;
		top: 0;
		bottom: 0;
		right: 0;
		width: 500px;
		background-color: #ebebeb;
		border-left: 2px solid #adadad;
		
		.category{
			height: 50px;
			line-height: 50px;
			font-size: 24px;
			box-sizing: border-box;
			background-color: #cccccc;
			padding-left: 20px;
			border-width: 2px 0 2px 0;
			border-style: solid;
			border-color: #adadad;
		}
		
		.option{
			height: 50px;
			line-height: 50px;
			box-sizing: border-box;
			padding-left: 20px;
			position: relative;
			
			.switch{
				position: absolute;
				width: 100px;
				height: 50px;
				right: 170px;
				top: 0;
				cursor: pointer;
				background-color: #0f0;
				&.off{
					background-color: #f00;
				}
			}
			
			.slider{
				position: absolute;
				width: 200px;
				height: 50px;
				right: 120px;
				top: 0;
				cursor: pointer;
				.bar{
					position: absolute;
					right: 0;
					height: 4px;
					top: 23px;
					left: 0;
					background-color: #fff;
					border-radius: 2px;
				}
				.pointer{
					position: absolute;
					width: 50px;
					height: 50px;
					top: 0;
					left: 0;
					margin-left: -25px;
					cursor: pointer;
					.ball{
						position: absolute;
						top: 15px;
						left: 15px;
						width: 20px;
						height: 20px;
						border-radius: 10px;
						box-sizing: border-box;
						border: 2px solid #ccc;
						background-color: #999;
					}
				}
			}
			.numeric{
				position: absolute;
				width: 70px;
				height: 50px;
				right: 50px;
				text-align: right;
				top: 0;
				font-size: 18px;
			}
			.check{
				position: absolute;
				width: 50px;
				height: 50px;
				right: 0;
				top: 0;
			}
		}
		.save{
			height: 50px;
			line-height: 50px;
			box-sizing: border-box;
			padding-left: 20px;
		}
	}
}